<template>
	<view class="content">
		<view class="navgator" :style="{'padding-top':statusHeight + 'px'}">
			<uni-row class="title">
				<uni-col :span="8">
					<image mode="widthFix" src="@/static/src_libs_eui_icon_back.png" class="img1" @click="backTo">
					</image>
				</uni-col>
				<uni-col :span="8">
					<view style="text-align: center;">
						<text>地址本</text>
					</view>
				</uni-col>
				<uni-col :span="8">
					<view style="text-align: right;">
						<image mode="widthFix" src="@/static/src_libs_eui_icon_adddapp.png" class="img1"></image>
					</view>

				</uni-col>
			</uni-row>
		</view>

		<view class="default-view">
			<image mode="widthFix" src="@/static/src_libs_eui_icon_placeholderdefault.png" class="img2"></image>
			<view style="margin-top: 15px;">暂无数据</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url: "",
				title: "",
			}
		},
		onLoad(options) {

		},
		methods: {
			backTo() {
				this.Api.back()
			}
		},
		computed: {
			//状态栏高度
			statusHeight() {
				return uni.getSystemInfoSync().statusBarHeight || 10; //如果没有获取到高度，那么指定10px；
			}
		}
	}
</script>

<style scoped>
	.content {
		height: calc(100vh - var(--window-top));
	}

	.img1 {
		width: 24px;
	}
	
	.img2 {
		width: 90px;
	}

	.title {
		padding: 5px 10px;
	}

	.navgator {
		background: rgb(247, 248, 249);
	}

	.default-view {
		height: 70%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	    color: rgb(149, 152, 171);
	}
</style>
